.map_wrapper {
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.map_container {
  flex: 1;
  border: 1px solid #ececec;
  display: flex;
}

.buttons {
  text-align: right;
  padding-top: 16px;
}

.map_view {
  flex: 1;
  overflow: hidden;
}

.search {
  width: 400px;
  height: 100%;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ececec;
}

.search_form {
  padding: 12px 12px;
  border-bottom: 1px solid #ececec;
}

.search_result {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  &>div:last-child {
    padding: 12px;
    margin: 0;
  }

  &>div:first-child {
    flex: 1;
    overflow-y: auto;
    border-top: none;
  }
}

.total {
  font-size: 12px;
  color: #666;
}

.result_item {
  padding: 12px 12px;
  cursor: pointer;
  display: flex;
  transition: all .2s linear;

  &:hover {
    background-color: #ececec;
  }

  .result_item_content {
    flex: 1;
  }

  .result_item_img {
    margin-left: 12px;

    img {
      width: 60px;
      height: 50px;
      object-fit: cover;
    }
  }
  

  .name {
    font-size: 14px;
    color: #333;
    font-weight: 600;
  }

  .address {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
  }

  &+.result_item {
    border-top: 1px solid #ececec;
  }

  &.selected {
    background: var(--theme-color);

    .name,.address {
      color: #fff;
    }
  }
}

.footer {
  text-align: right;
  padding-top: 16px;
}